package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._04代理模式._3代理送花;

/**
 * @ClassName Test
 * @Description TODO
 * @Author zero
 * @DATE 2023/7/11 1:39 PM
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
        SchoolGirl girlLjj = new SchoolGirl();
        girlLjj.setName("李娇娇");

        Proxy boyDl = new Proxy(girlLjj);
        boyDl.giveDolls();
        boyDl.giveFlowers();
        boyDl.giveChocolate();

    }
}
